﻿using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CentralMonitoring
{
    public class Devicelist
    {
        public int devId { get; set; }
        public string devCode { get; set; }
        public string devName { get; set; }
        /// <summary>
        /// 安装位置
        /// </summary>
        public string devPos { get; set; }
        /// <summary>
        /// 安装时间
        /// </summary>
        public DateTime devInstallTime { get; set; }

        public string sensorCode { get; set; }
        /// <summary>
        /// 终端编码
        /// </summary>
        public string sensorName { get; set; }
        public string topic { get; set;  }
        public string subscribe { get; set; }
        /// <summary>
        /// 在线状态
        /// </summary>
        public bool online_status {  get; set; }

        /// <summary>
        /// 油品名称
        /// </summary>
        public string oilName { get; set; }
        /// <summary>
        /// 加注时间
        /// </summary>
        public DateTime oilFillTime { get; set; }

        public decimal xsA { get; set; }
        public decimal xsB { get; set; }
        public decimal visUpper { get; set; }
        public decimal visLower { get;set; }
        public decimal waterUpper { get;set; }
        public decimal waterLower { get; set; }
        public decimal temperUpper { get; set; }
        public decimal temperLower { get; set; }
        public DateTime LastTime { get; set; } = DateTime.Now.AddDays(-1);
        public bool Status { get; set; } = false;
        public decimal stV40 { get; set; }


    }
}
